<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>
<section>
      <div class="container">
      <div class="row">
          <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
              <div class="row">
                  <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                    <ol class="breadcrumb">
                        <li><a href="javascript:;">Results of search  <font color='red'> <?php echo $words ?></font></a></li>
                    </ol>
                  </div>
                  <?php if(! empty($art_data) || ! empty($peo_data)):?>
                      <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                          <ul class="cauplist">
	                       <?php if(! empty($art_data)): ?>
	                          <?php foreach ($art_data as $v) {?>
	                               <li class="item">
	                                   <p class="title">
	                                     	<a>[&nbsp;NEWS&nbsp;]</a>
		  	  								<a href="<?php echo site_url('news/info/'.$v['cid'].'/'.$v['aid']) ?>" target="_blank"><?php echo $v['title']; ?></a>
	                                 </p>
	                                 <span class="date"><?php echo date('Y-m-d',$v['addtime']) ?></span>
	                               </li>
	                          <?php } ?>
	                      <?php endif; ?>

                        <?php if(! empty($peo_data)): ?>
                          <?php foreach ($peo_data as $v) {?>
                               <li class="item">
                                   <p class="title">
                                   	  <a>[&nbsp;PEOPLE&nbsp;]</a>
                                   	  <a href="<?php echo site_url('people/info/'.$v['c_id'].'/'.$v['pe_id']) ?>" target="_blank"><?php echo $v['pe_name']; ?></a>
                                   </p>
                               </li>
                          <?php } ?>
                        <?php endif; ?>
                          </ul>
                      </div>
                  <?php else: ?>
                      <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                      <ul class="cauplist">
                           <li class="item">
                                   	There is no search result :-(
                           </li>
                      </ul>
                      </div>
                  <?php endif; ?>
              </div>
          </div>
      </div>
  </section>